import {http} from "../utils/utils.js"
module.exports={
	//获取产品信息
	product(){
		return http("api/index/index",{},"get")
	},
	
	getStatus(data){
		return http("api/index/getStatus",data,"get")
	},
	//基本信息
	getIndex(data){
		return http("api/index/getIndex",data,"get")
	},
	//人物关系
	getGuanxi(data){
		return http("api/index/getGuanxi",data,"get")
	},
	//相关视频
	getVideo(data){
		return http("api/index/getVideo",data,"get")
	},
	//相关图片
	getImage(data){
		return http("api/index/getImage",data,"get")
	},
	//密码验证
	authKey(data){
		return http("api/index/authKey",data,"get")
	},
	// 修改资料
	getEdit(data){
		return http("api/index/getEdit",data,"get")
	},
	edit(data){
		return http("api/index/edit",data,"post")
	},
	//简介
	getProfileInfo(data){
		return http("api/index/getProfileInfo",data,"get")
	},
	//错误提示
	getErrorInfo(data){
		return http("api/index/getErrorInfo",data,"get")
	}
} 